﻿namespace FFF.Test.Entity.CF.View
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.AutoMapper;
    using Abp.Domain.Entities;
    using FFF.Test.Entity.Framework.View;

	/// <summary>
    /// 平台业务参数设置表(树)视图
    /// </summary>
	[Table("View_CF_BizParamSet")]
    [Display(Name = "平台业务参数设置表(树)视图", Description = "平台业务参数设置表(树)视图")]
    [AutoMapTo(typeof(ViewCFBizParamSet))]  
    public partial class ViewCFBizParamSet : BaseView<Guid>
    {
        /// <summary>
        /// 参数字典表GUID
        /// </summary>
		[Display(Name = "参数字典表GUID", Description = "参数字典表GUID")]
        [Column("BizParamSetGUID")]
        public override Guid Id { get; set; }
           
         /// <summary>
        /// 参数的名称
        /// </summary>
		[Display(Name = "参数的名称", Description = "参数的名称")]
        [Column("BizParamSetName", TypeName = "VARCHAR(256)")]
		[StringLength(256)]
        public string BizParamSetName { get; set; }
           
         /// <summary>
        /// 参数的URL(自定义的时候填写)
        /// </summary>
		[Display(Name = "参数的URL(自定义的时候填写)", Description = "参数的URL(自定义的时候填写)")]
        [Column("BizParamURL", TypeName = "VARCHAR(1024)")]
		[StringLength(1024)]
        public string BizParamURL { get; set; }
           
         /// <summary>
        /// 参数的Code
        /// </summary>
		[Display(Name = "参数的Code", Description = "参数的Code")]
        [Column("BizParamCode", TypeName = "VARCHAR(256)")]
		[StringLength(256)]
        public string BizParamCode { get; set; }
           
         /// <summary>
        /// 参数类型(1,集团;2,公司)
        /// </summary>
		[Display(Name = "参数类型(1,集团;2,公司)", Description = "参数类型(1,集团;2,公司)")]
        [Column("BizParamType")]
         public CF.CFBizParamSetBizParamTypeEnum BizParamType { get; set; }
           
         /// <summary>
        /// 字典类型对应的GUID公司的话就是公司的GUID
        /// </summary>
		[Display(Name = "字典类型对应的GUID公司的话就是公司的GUID", Description = "字典类型对应的GUID公司的话就是公司的GUID")]
        [Column("BizParamScopeGUID")]
         public Guid? BizParamScopeGUID { get; set; }
           
         /// <summary>
        /// 是否是配置类参数
        /// </summary>
		[Display(Name = "是否是配置类参数", Description = "是否是配置类参数")]
        [Column("BizParamIsConfig")]
         public byte BizParamIsConfig { get; set; }
           
         /// <summary>
        /// 是否为系统级(系统级不能删除)
        /// </summary>
		[Display(Name = "是否为系统级(系统级不能删除)", Description = "是否为系统级(系统级不能删除)")]
        [Column("BizParamIsSystem")]
         public byte BizParamIsSystem { get; set; }
           
         /// <summary>
        /// 是否禁用
        /// </summary>
		[Display(Name = "是否禁用", Description = "是否禁用")]
        [Column("BizParamIsDisable")]
         public byte BizParamIsDisable { get; set; }
           
         /// <summary>
        /// 是否是多级
        /// </summary>
		[Display(Name = "是否是多级", Description = "是否是多级")]
        [Column("BizParamIsMutilLevel")]
         public byte BizParamIsMutilLevel { get; set; }
           
         /// <summary>
        /// 租户的GUID
        /// </summary>
		[Display(Name = "租户的GUID", Description = "租户的GUID")]
        [Column("TenantId")]
         public Guid? TenantId { get; set; }
           
         /// <summary>
        /// 是否删除
        /// </summary>
		[Display(Name = "是否删除", Description = "是否删除")]
        [Column("IsDeleted")]
         public byte IsDeleted { get; set; }
           
         /// <summary>
        /// 创建时间
        /// </summary>
		[Display(Name = "创建时间", Description = "创建时间")]
        [Column("CreateTime")]
         public DateTime CreateTime { get; set; }
           
         /// <summary>
        /// 公司GUID
        /// </summary>
		[Display(Name = "公司GUID", Description = "公司GUID")]
        [Column("BuUnitGUID")]
         public Guid? BuUnitGUID { get; set; }
           
         /// <summary>
        /// 父级的ID
        /// </summary>
		[Display(Name = "父级的ID", Description = "父级的ID")]
        [Column("ParentGUID")]
         public Guid? ParentGUID { get; set; }
           
         /// <summary>
        /// 树形的层级Code
        /// </summary>
		[Display(Name = "树形的层级Code", Description = "树形的层级Code")]
        [Column("FullCode", TypeName = "VARCHAR(1024)")]
		[StringLength(1024)]
        public string FullCode { get; set; }
           
         /// <summary>
        /// 树形的排序编码
        /// </summary>
		[Display(Name = "树形的排序编码", Description = "树形的排序编码")]
        [Column("OrderCode", TypeName = "VARCHAR(1024)")]
		[StringLength(1024)]
        public string OrderCode { get; set; }
           
         /// <summary>
        /// 对应的图标
        /// </summary>
		[Display(Name = "对应的图标", Description = "对应的图标")]
        [Column("Icon", TypeName = "VARCHAR(256)")]
		[StringLength(256)]
        public string Icon { get; set; }
           
    }
}
